package com.yidu.ReportManagement.service.impl;

import com.yidu.ReportManagement.entity.Bargin;
import com.yidu.ReportManagement.mapper.BarginMapper;
import com.yidu.ReportManagement.service.Bargins;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class BarginImpl implements Bargins {
    @Resource
    BarginMapper barginMapper;
    @Override
    public List<Bargin> selectBargin() {
        List<Bargin> barginList = barginMapper.selectBargin();
        return barginList;
    }
}
